/**
 * 果树换水果
 */
class ExchangePanel extends PanelBase {

	public constructor() {
		super();
		this.skinName = ExchangeSkin;
	}



	// 前往兑换
	private btnSkip: eui.Button;



	protected createChildren() {
		super.createChildren();

		// 设置标题
		this.commonPanel.setIcon("btn_exchange_png")
		this.commonPanel.setTitle("title_exchange_png");


		this.btnSkip.addEventListener(egret.TouchEvent.TOUCH_TAP, this.skipTap, this);

	}


	// 跳转商城
	private skipTap() {
		platform.skipExchange(1);
		// 关闭窗口
		SceneManager.ins.popScene()
	}

}